<script setup>
import { store } from "pkgs/stores"
var props = defineProps({
    title: {
        type: String,
        default: '空白页面'
    }
})
document.title = props.title
</script>

<template>
    <div>
        <div class="d-flex justify-content-left align-items-center mb-3">
            <x-widget-bar class="me-3"></x-widget-bar>
            <x-container-bar class="me-3"></x-container-bar>
            <el-switch v-model="store.conf.editable"></el-switch>
        </div>
        <div class="w-100 h-100">
            <slot></slot>
        </div>
    </div>

</template>
<style scoped></style>